import { PageContainer } from '@ant-design/pro-components';
import { Link } from '@umijs/max';
import { Button, Result } from 'antd';

const NotFound: React.FC = () => {
  return (
    <PageContainer>
      <Result
        status="404"
        title="404"
        subTitle="Sorry, the page you visited does not exist."
        extra={
          <Button type="primary">
            <Link to="/">Back Home</Link>
          </Button>
        }
      />
    </PageContainer>
  );
};

export default NotFound;
